package com.zhi.syc.data_applist.beans;

import com.zhi.syc.data_applist.ASBuilder;
import com.zhi.syc.data_applist.util.ASGeneralUtil;
import com.zhi.syc.data_applist.util.ASNetworkUtil;

public class ASLocationInfoBean {

    public String appId;

    public String product;

    public String borrowId;

    public String longitude;

    public String latitude;

    public String province;

    public String city;

    public String county;

    public String street;

    public String detail;

    ///////common params//////
    private String clientType;
    private String version;
    private String sysLoginName;
    private String advertId;
    private String ip;
    private String mac;
    private String androidId;
    private String token;
    private String loginId;
    ///////

    public ASLocationInfoBean(){
        this.version = ASBuilder.KEY_VERSION;
        this.clientType = ASBuilder.KEY_CLIENT_TYPE;
        this.advertId = ASBuilder.KEY_ADVERT_ID;
        this.ip = ASNetworkUtil.getIPAddress(ASBuilder.PCK_CONTEXT);
        this.mac = ASNetworkUtil.getMacAddress(ASBuilder.PCK_CONTEXT);
        this.androidId = ASGeneralUtil.getAndroidID(ASBuilder.PCK_CONTEXT);
        this.token = ASBuilder.KEY_TOKEN;
        this.sysLoginName = ASBuilder.KEY_USER_NAME;
        this.loginId = ASBuilder.KEY_LOGIN_ID;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(String borrowId) {
        this.borrowId = borrowId;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getSysLoginName() {
        return sysLoginName;
    }

    public void setSysLoginName(String sysLoginName) {
        this.sysLoginName = sysLoginName;
    }

    public String getAdvertId() {
        return advertId;
    }

    public void setAdvertId(String advertId) {
        this.advertId = advertId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getAndroidId() {
        return androidId;
    }

    public void setAndroidId(String androidId) {
        this.androidId = androidId;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }
}
